import request from '../utils/request.js';
//主页轮播图
export function getWXCarouselChartAction(data){
	return request({
		url:'/WXCarouselChartAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

// 紧挨着轮播图的导航
export function getWX2ColumnAction(data){
	return request({
		url:'/WX2ColumnAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

// 栏目查询
export function getWXColumnMainAction(data){
	return request({
		url:'/WXColumnMainAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

// 商品查询
export function getWX2GoodsIdAction(data){
	return request({
		url:'/WX2GoodsIdAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

// 商品详情
export function getWX2GoodsDetailIdAction(data){
	return request({
		url:'/WX2GoodsDetailIdAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

// #99
//   合美供销类似页中除商品的查询
export function getHMGXLocation(data){
	return request({
		url:'../json/location/hmgx',
		method:'POST',
		data,
	})
}

//   合美供销类似页商品的查询
export function getHMGXGoods(data){
	return request({
		url:'../json/location/hmgxgds',
		method:'POST',
		data,
	})
}
// #99